package str

import (
	"fmt"
	"reflect"

	"github.com/gookit/goutil/comdef"
)

func Int[T comdef.Int](s string, defaultValue T) T {
	if s == "" {
		return defaultValue
	}
	var value T
	ttype := reflect.TypeOf(value)
	fmt.Printf("%v", ttype)
	return 0
}
